%ion-modal-view#password-pad-modal(hide-nav-bar="true" ng-controller="SmsPadCtrl")
  .pad-bottom
    %ion-header-bar.bar-light(align-title="center")
      %h1.title.dark-blue 短信验证
      %button.button.button-clear(ng-click="closePad()" ng-if="!is_loading && !is_success")
        %i.icon.ion-ios-close-empty.go-back      

    %ion-content.no-animation.no-padding.bg-light(overflow-scroll="true" style="overflow: hidden")
      .pad-body
        .loading-box(ng-if="is_loading || is_success")
          %div(ng-if="is_loading")
            .loading-circle.icon-center.animation-rotate
          %div(ng-if="is_success")
            .success-circle.icon-center
              .checkmark.icon-center

        .item.item-input.row.margin-bottom-10(ng-if="!is_loading && !is_success")
          .col.col-25.padding-left-10 短信验证码
          %input.col.col-33.no-padding.text-center(type="tel" ng-model="sms.code" placeholder="验证码")
          %a.col.send-code-button(ng-disabled="interval > 0" ng-click="sendCode()")
            %span(ng-if="interval <= 0") 发送验证码
            %span(ng-if="interval > 0") 再次发送({{ interval }})

        .hint-msg {{hint_msg}}

        .text-center(ng-if="!is_loading && !is_success")
          %button.furion-button(ng-click="confirmPassword()") 确 认
